package com.rich.broker.service.impl;

import com.rich.broker.mapper.RentSuccessHouseMapper;
import com.rich.broker.service.RentSuccessHouseService;
import com.rich.common.entity.TbRentSuccessHouse;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author HanSama
 * @date 2021年08月16日 18:41
 */
@Service
public class RentSuccessHouseServiceImpl implements RentSuccessHouseService {

    @Autowired
    private RentSuccessHouseMapper rentSuccessHouseMapper;

    /**
     * 获取个人出租成功列表
     * @author HanSama
     * @date 2021/8/16 19:26
     * @param rentSuccessHouse
     * @return java.util.List<com.rich.common.entity.TbRentSuccessHouse>
     */
    @Override
    public List<TbRentSuccessHouse> search(TbRentSuccessHouse rentSuccessHouse) {

        return rentSuccessHouseMapper.search(rentSuccessHouse);
    }
}
